package java8_26.chongwu;

/**
 * @author oldliu
 * @since 1.0
 */
public class Tiger extends Pet {
    public Tiger(String n,String s,int h,int l){
        super(n,s,h,l);
    }

    @Override
    public void eat() {
        System.out.println(super.getName()+"这个老虎在吃饭,吃肉");
    }

    public void shout(){
        System.out.println(super.getName()+"发出了虎啸声");
    }
}
